dxp-ux

(0 reviews)

l22-itv/Get PlanDetails By PlanInstanceId ( TMF-622 )

/productOrder (v1):

This operation provides following features for

PR:

  1. To retrieve the list of AddOn's of the product
  2. List the plan instance information from the Aria (Billing System) by using plan instance id

CWC Markets:

To retrieve the history of loan details from evolving system.

URL
https://[localhost]:[port]/dxp-ux/v1/{businessId}/productOrder
URL PARAMS
nametypedescriptionrequired
businessIdstring2 letter ISO 3166 country code (TT, BB, JM, PA, PR etc.) identifying the business unit. Expected one for Peacock Mobile project is : "PR"-Puerto RicoY
namevaluedescriptionrequired
client_idstringThe client_id identifying the channel.Y
client_secretstringPassword associated with the client_id.Y
X-Correlation-IDstringIdentifier that correlates HTTP request between a client and server. Any identification model (UUDI, checksum, etc.) can be used, as long as it is a unique value to differentiate a transaction. Note - Mule default behavior creates a sample x-correlation-id field if value is not passed from client, API will use this value in case value is not passed in API requestY
Query Param
nametypedescriptionrequired
channel.namestringSource System information for tracking purpose.
Note for PR: Expected values are either 'Digital'
Y(PR - AddOn), N/A(CWC)
relatedParty.idstringMobile Device number (msisdn is mandatory to get compatible addons for the associated plan)Y(PR- AddOn, CWC)
orderDate.gtedate-timeTo retrieve the loan details performed after this dateN/A(PR),N(CWC)
orderDate.ltedate-timeTo retrieve the loan details performed before this dateN/A(PR),N(CWC)
productOrderItem.product.idStringThe client defined ID of the plan instance Note - To work this functionality the "productOrderItem.product.id" should be expected in request.Y(PR - planInstance Info), N/A(CWC)
Definitions

Each of the response parameters is detailed.

nametypedescriptionrequired
idstringID created on repository sideN(CWC), N/A(PR)
categorystringUsed to categorize the order from a business perspectiveY(CWC), N/A(PR)
orderDatestring($date-time)Date when the order was createdY(CWC), N/A(PR)
channel[]arrayRelated channel to another entity.N(CWC), N/A(PR)
channel[].namestringName of the channelN(CWC), N/A(PR)
@typeStringWhen sub-classing, this defines the sub-class entity nameN(PR,CWC)
notearrayExtra information about a given entityN(PR - AddOn),N/A(CWC, PR - planInstance Info)
note.textStringText of the note.N(PR - AddOn),N/A(CWC, PR - planInstance Info)
productOrderItem[]Object ArrayProduct order item arrayN(PR), Y(CWC)
productOrderItem[].idstringIdentifier of the line item
Note for PR : The Aria assigned ID of the plan for this client plan instance id
N(CWC, PR - planInstance Info), N/A(PR - AddOn)
productOrderItem[].quantitystringQuantity ordered
Note for PR: The number of units assigned to this instance
N(CWC, PR - planInstance Info), N/A(PR - AddOn)
productOrderItem[].actionstringaction to be performed on the productN(CWC), N/A(PR)
productOrderItem[].productOfferingobjectProductOffering reference. A product offering represents entities that are orderable from the provider of the catalog, this resource includes pricing information.N(CWC), N/A(PR)
productOrderItem[].productOffering.'@type'stringThe actual type of the target instance when needed for disambiguation.N(CWC), N/A(PR )
productOrderItem[].itemPrice[]arrayAn amount, usually of money, that represents the actual price paid by the Customer for this item or this orderY(CWC), N/A(PR)
productOrderItem[].itemPrice[].descriptionstringA narrative that explains in detail the semantics of this order item price.N(CWC), N/A(PR)
productOrderItem[].itemPrice[].namestringA short descriptive nameY(CWC), N/A(PR)
productOrderItem[].itemPrice[].priceTypestringA category that describes the price, such as recurring, discount, allowance, penalty, and so forthN(CWC), N/A(PR)
productOrderItem[].itemPrice[].priceobjectProvides all amountsY(CWC), N/A(PR )
productOrderItem[].itemPrice[].price.dutyFreeAmountobjectA base / value business entity used to represent moneyY(CWC), N/A(PR)
productOrderItem[].itemPrice[].price.dutyFreeAmount.unitstringCurrencyY(CWC), N/A(PR )
productOrderItem[].itemPrice[].price.dutyFreeAmount.valuenumber($float)A positive floating point numberY(CWC), N/A(PR )
productOrderItem[].'@type'stringWhen sub-classing, this defines the sub-class entity nameN(CWC, PR - planInstance Info), N/A(PR - AddOn)
productOrderItem.productObject ArrayA product to be created defined by value or existing defined by reference.N(PR),N/A(CWC)
productOrderItem.product.idStringUnique identifier of the product.N(PR),N/A(CWC)
productOrderItem.product.nameStringName of the product. It could be the same as the name of the product offering.N(PR),N/A(CWC)
productOrderItem.product.descriptionstringThe name of the plan on this instanceN(PR - planInstance Info), N/A(PR - AddOn, CWC)
productOrderItem.product.statusstringThe status code of the plan instance. Possible values are: inactive active cancellation pending termination pending installation pending registerd pending activation active trial active non-billable suspended cancelled terminatedN(PR - planInstance Info), N/A(PR - AddOn, CWC)
productOrderItem.product.@typeStringtype of the product.N(PR),N/A(CWC)
productOrderItem.product. productCharacteristicarrayDescribes a given characteristic of an object or entity through a name/value pair.N(PR - planInstance Info), N/A(PR - AddOn, CWC)
productOrderItem.product. productCharacteristic.namestringName of the characteristicN(PR - planInstance Info), N/A(PR - AddOn, CWC)
productOrderItem.product. productCharacteristic.valuestringThe value of the characteristicN(PR - planInstance Info), N/A(PR - AddOn, CWC)
productOrderItem.product. productCharacteristic.@typestringType of characteristicN(PR - planInstance Info), N/A(PR - AddOn, CWC)
productOrderItem.productOrderItemObject ArrayProduct order item arrayN(PR - AddOn),N/A(CWC, PR - planInstance Info)
productOrderItem.productOrderItem.@typeStringtype of the product.N(PR - AddOn),N/A(CWC, PR - planInstance Info)
productOrderItem.productOrderItem.productObject ArrayA product to be created defined by value or existing defined by reference.N(PR - AddOn),N/A(CWC, PR - planInstance Info)
productOrderItem.productOrderItem.product.idStringUnique identifier of the product.N(PR - AddOn),N/A(CWC, PR - planInstance Info)
productOrderItem.productOrderItem.product.nameStringName of the product. It could be the same as the name of the product offering.N(PR - AddOn),N/A(CWC, PR - planInstance Info)
productOrderItem.productOrderItem.product.itemPriceObject ArrayAn amount, usually of money, that represents the actual price paid by the Customer for this item or this order.N(PR - AddOn),N/A(CWC, PR - planInstance Info)
productOrderItem.productOrderItem.product.itemPrice.nameStringname of the priced itemN(PR - AddOn),N/A(CWC, PR - planInstance Info)
productOrderItem.productOrderItem.product.itemPrice.descriptionStringdescription of the priced itemN(PR - AddOn),N/A(CWC, PR - planInstance Info)
productOrderItem.productOrderItem.product.itemPrice.priceObjectitem price objectN(PR - AddOn),N/A(CWC, PR - planInstance Info)
productOrderItem.productOrderItem.product.itemPrice.price.dutyFreeAmountObjectduty free amount objectN(PR - AddOn),N/A(CWC, PR - planInstance Info)
productOrderItem.productOrderItem.product.itemPrice.price.dutyFreeAmount.unitStringunits of the amountN(PR - AddOn),N/A(CWC, PR - planInstance Info)
productOrderItem.productOrderItem.product.itemPrice.price.dutyFreeAmount.valuenumberprice valueN(PR - AddOn),N/A(CWC, PR - planInstance Info)
relatedParty[]arrayRelated Entity reference. A related party defines party or party role linked to a specific entity.Y(CWC), N/A(PR - AddOn), N(PR-planInstance Info)
relatedParty[].idstringUnique identifier of a related entity.Y(CWC), N/A(PR - AddOn), N(PR-planInstance Info)
relatedParty[].'@type'stringWhen sub-classing, this defines the sub-class entity nameN(CWC), N/A(PR - AddOn), N(PR-planInstance Info)
relatedParty[].'@referredType'stringThe actual type of the target instance when needed for disambiguation.N(CWC), N/A(PR)

itemPrice[] subResource dataModel:

nametypeDescriptionrequired (mandatory-Y, optional-N, Not applicable- N/A)examples
TransactionAmountstringMonetary amount involved in the loan transactionY(CWC)CWC: {
"description": "TransactionAmount",
"name": "TransactionAmount",
"priceType": "nonRecurring",
"price": {
"dutyFreeAmount": {
"unit": "
__COMPONENT_PLACEHOLDER__
quot;,
"value": 100
}
}
}
TransactionPointsstringReward or loyalty points associated with the transactionY(CWC)CWC:
{
"description": "TransactionPoints",
"name": "TransactionPoints",
"priceType": "nonRecurring",
"price": {
"dutyFreeAmount": {
"unit": "points",
"value": 0
}
}
}
productCharacteristic values for PR (List the plan instance information from the Aria)
Characteristic Nametypedescriptionrequired
Original Financed AmountstringThe value that was assigned to this field on this plan instanceN
Number of Payment InstallmentsstringThe value that was assigned to this field on this plan instanceN
Remaining Financed AmountstringThe value that was assigned to this field on this plan instanceN
Number of Installments InvoicedstringThe value that was assigned to this field on this plan instanceN
Monthly InstallmentstringThe value that was assigned to this field on this plan instanceN
Installment IDstringThe value that was assigned to this field on this plan instanceN
Description (English)stringThe value that was assigned to this field on this plan instanceN
Description (Spanish)stringThe value that was assigned to this field on this plan instanceN
Established OnstringThe value that was assigned to this field on this plan instanceN
StatusstringThe value that was assigned to this field on this plan instanceN
Promotional Amount TotalstringThe value that was assigned to this field on this plan instanceN
Promotional Monthly AmountstringThe value that was assigned to this field on this plan instanceN
Number of Promo DiscountsstringThe value that was assigned to this field on this plan instanceN
Number of Promo Discounts GivenstringThe value that was assigned to this field on this plan instanceN
Current Promotional Discount BalancestringThe value that was assigned to this field on this plan instanceN
Promo Description (English)stringThe value that was assigned to this field on this plan instanceN
Promo Description (Spanish)stringThe value that was assigned to this field on this plan instanceN
last_bill_datedatetimeThe last date on which the plan instance was billedN
next_bill_datedatetimeThe next date on which the plan instance is scheduled to be billedN
bill_thru_datedatetimeThe date through which the plan instance has been billedN
Key considerations

CWC Implementation:

  1. This use case retrieves history of loan details for PREPAID customers from the evolving system based on the MSISDN provided.
  2. This is implemented for the following businessIds: AI, AG, BB, VG, KY, DM, GD, JM, MS, KN, LC, VC, TT, TC, CW.
  3. To retrieve loan history for a specific duration, orderDate.gte and orderDate.lte queryParameters must be passed.
  4. If orderDate.gte is provided, then orderDate.lte must also be provided, and vice versa.

/productOrder (v2):

This operation list the plan instance information from the Aria (Billing System) by using plan instance id (v2)

URL
https://[localhost]:[port]/dxp-ux/v2/{businessId}/productOrder
url Param
nametypedescriptionrequired
businessIdstring2 letter ISO 3166 country code (TT, BB, JM, PA, PR etc.) identifying the business unit. Expected one is "PR"-Puerto RicoY
namevaluedescriptionrequired
client_idstringThe client_id identifying the channel.Y
client_secretstringPassword associated with the client_id.Y
X-Correlation-IDstringIdentifier that correlates HTTP request between a client and server. Any identification model (UUDI, checksum, etc.) can be used, as long as it is a unique value to differentiate a transaction.Y
Query Param
nametypedescriptionrequired
productOrderItem.product.idStringThe client defined ID of the plan instance Note - To work this functionality the "productOrderItem.product.id" should be expected in request.Y
Definitions

Each of the request parameters is detailed.

nametypedescriptionrequired
billingAccountobjectBillingAccount reference.N
billingAccount.idstringClient specified account identifierN
billingAccount.@typestringBilling Account TypeN
productOrderItemarrayAn identified part of the order. A product order is decomposed into one or more order items.N
productOrderItem.idstringThe Aria assigned ID of the plan for this client plan instance idN
productOrderItem.quantityintegerThe number of units assigned to this instanceN
productOrderItem.productobjectA product to be created defined by value or existing defined by reference.N
productOrderItem.product.idstringThe client defined ID of the plan instanceN
productOrderItem.product.namestringThe client defined ID of the plan on this instanceN
productOrderItem.product.descriptionstringThe name of the plan on this instanceN
productOrderItem.product.statusstringThe status code of the plan instance. Possible values are: inactive active cancellation pending termination pending installation pending registerd pending activation active trial active non-billable suspended cancelled terminatedN
productOrderItem.product. productCharacteristicarrayDescribes a given characteristic of an object or entity through a name/value pair.N
productOrderItem.product. productCharacteristic.namestringName of the characteristicN
productOrderItem.product. productCharacteristic.valuestringThe value of the characteristicN
@typestringOrder typeN
productCharacteristic values
Characteristic Nametypedescriptionrequired
Original Financed AmountstringThe value that was assigned to this field on this plan instanceN
Number of Payment InstallmentsstringThe value that was assigned to this field on this plan instanceN
Remaining Financed AmountstringThe value that was assigned to this field on this plan instanceN
Number of Installments InvoicedstringThe value that was assigned to this field on this plan instanceN
Monthly InstallmentstringThe value that was assigned to this field on this plan instanceN
Installment IDstringThe value that was assigned to this field on this plan instanceN
Description (English)stringThe value that was assigned to this field on this plan instanceN
Description (Spanish)stringThe value that was assigned to this field on this plan instanceN
Established OnstringThe value that was assigned to this field on this plan instanceN
StatusstringThe value that was assigned to this field on this plan instanceN
Promotional Amount TotalstringThe value that was assigned to this field on this plan instanceN
Promotional Monthly AmountstringThe value that was assigned to this field on this plan instanceN
Number of Promo DiscountsstringThe value that was assigned to this field on this plan instanceN
Number of Promo Discounts GivenstringThe value that was assigned to this field on this plan instanceN
Current Promotional Discount BalancestringThe value that was assigned to this field on this plan instanceN
Promo Description (English)stringThe value that was assigned to this field on this plan instanceN
Promo Description (Spanish)stringThe value that was assigned to this field on this plan instanceN
last_bill_datedatetimeThe last date on which the plan instance was billedN
next_bill_datedatetimeThe next date on which the plan instance is scheduled to be billedN
bill_thru_datedatetimeThe date through which the plan instance has been billedN
plan_typestringIndicates plan instanceN
Key considerations

Reviews